package com.liuf.mqclent.client;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
@RabbitListener(queues = "hello")
public class RabbitClient {


    @RabbitHandler
    private void clientProcee(String hello){
        System.out.println("Receiver : " + hello);
    }
}
